From bec866d884970e2579f3addac1b364c8889ebd27 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Feb 2001 11:51:01 +0000 Subject: [PATCH] (grep-regexp-alist): Remove the blank from the character class after the (optional) drive, to support file names with embedded blanks. --- lisp/progmodes/compile.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 2f33166e1f4..7bb976d1656 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -397,8 +397,10 @@ Otherwise, it saves all modified buffers without asking." :type 'boolean :group 'compilation) +;; Note: the character class after the optional drive letter does not +;; include a space to support file names with blanks. (defvar grep-regexp-alist - '(("\\([a-zA-Z]?:?[^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)) + '(("\\([a-zA-Z]?:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2)) "Regexp used to match grep hits. See `compilation-error-regexp-alist'.") (defvar grep-program -- 2.30.2